package com.example.demo.security.dao;

import com.example.demo.security.model.AdminToken;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface AdminTokenDao {

    //验证token是否存在
    boolean selectByToken(@Param("Token") String Token,@Param("UserId") int UserId);


    //保存token
    int addAdminToken(Map<String,Object> map);

}
